var express = require('express');
var router = express.Router();
const TypeController = require("../controllers/TypeController")

//获取所有类型
router.get('/', TypeController.findAll)

//根据id获取数据
router.get('/findById', TypeController.findById)

module.exports = router